<?php
	class pageView{
		public $defaultTitle="";
		
		public function __constructor($pageTitle){
			$this->defaultTitle = $pageTitle;
		}
		public function getTitle($currentTitle){
			return !empty($currentTitle)?$currentTitle:$this->defaultTitle;
		}
	}
?>